package com.luobd.bpm.business.process.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.luobd.bpm.business.process.dto.ProcessXmlDto;
import com.luobd.bpm.business.process.entity.CoreProcessDef;
import com.luobd.bpm.business.process.input.DeployProcessInput;
import com.luobd.bpm.business.process.input.ProcessDefinitionInput;
import com.luobd.bpm.business.process.input.ProcessDefinitionPageQueryInput;
import com.luobd.bpm.common.ResponseData;
import com.luobd.bpm.common.ResponsePageData;
import com.luobd.bpm.dto.ProcessDefinitionDTO;

public interface IProcessDefService extends IService<CoreProcessDef> {



    ResponseData<Long> saveOrUpdate(ProcessDefinitionInput input);




    ResponsePageData<ProcessDefinitionDTO> page(ProcessDefinitionPageQueryInput input);



    ResponseData<String> deployment(DeployProcessInput input);



    ResponseData<ProcessXmlDto> getProcessXml(Long id);


    ResponseData<ProcessXmlDto> getProcessXml(String id);

    ResponseData<Boolean> delete(Long id);

}
